package pin.db.schema.base;
import pin.db.schema.*;
import java.util.Hashtable;
import java.sql.Timestamp;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.Collection;
import java.sql.SQLException;
import java.util.Vector;
public class UserBoardSpotBase{
	boolean[] modified=new boolean[3];
	public void resetModified(){
		for(boolean b:modified){
			b=false;
		}
	}
	private final Hashtable<String,Object> data=new Hashtable<String,Object>();
	public final void set(String columnNameDb, Object value){
		data.put(columnNameDb,value);
	}
	public final Object get(String columnNameDb){
		return data.get(columnNameDb);
	}
	public UserBoardSpotBase(){}
	public UserBoardSpotBase(java.lang.Long index,java.lang.Long userId,java.lang.Long boardId){
		setIndex(index);
		setUserId(userId);
		setBoardId(boardId);
	}
	public void setIndex(java.lang.Long index){
		if(index!=null) {
			set("index",index);
			this.modified[0] =true;
		}
	}
	public java.lang.Long getIndex(){
		return (java.lang.Long)get("index");
	}
	public void setUserId(java.lang.Long userId){
		if(userId!=null) {
			set("userId",userId);
			this.modified[1] =true;
		}
	}
	public java.lang.Long getUserId(){
		return (java.lang.Long)get("userId");
	}
	public void setBoardId(java.lang.Long boardId){
		if(boardId!=null) {
			set("boardId",boardId);
			this.modified[2] =true;
		}
	}
	public java.lang.Long getBoardId(){
		return (java.lang.Long)get("boardId");
	}
}
